package org.srunpass.bitmap.condition;

import java.util.Collection;
import java.util.HashSet;
import java.util.Set;

import lombok.Getter;

/**
 * @author srunpass
 * @version Id: EqCondition, v 0.1 2025/6/30 09:20 srunpass Exp $
 */
@Getter
public class InCondition extends AbstractCondition {

    private final Set<Object> vals = new HashSet<>();

    public InCondition(String field, Collection<?> vals) {
        super(field, null);
        this.vals.addAll(new HashSet<Object>(vals) {
        });
    }
}
